<?php
$this->pageTitle = Yii::app()->name . ' - ' . UserModule::t("Change Password");
?>
<?php echo $this->renderPartial('menuInfo'); ?>
<div class="span12">
    <div class="row-fluid">
        <div class="span2">
            <?php echo $this->renderPartial('menu'); ?>
        </div>
        <div class="span10">
            <div class="notice">
                <?php
                $form = $this->beginWidget('UActiveForm', array(
                    'id' => 'changepassword-form',
                    'enableAjaxValidation' => true,
                    'htmlOptions' => array('enctype' => 'multipart/form-data', 'class' => 'form-horizontal well'),
                ));
                ?>
                <div class="control-group">
                    <?php echo $form->labelEx($model, 'password', array('class' => 'control-label')); ?>
                    <div class="controls">
                        <?php echo $form->passwordField($model, 'password'); ?>
                        <?php echo $form->error($model, 'password'); ?>
                    </div>
                </div>

                <div class="control-group">
                    <?php echo $form->labelEx($model, 'verifyPassword', array('class' => 'control-label')); ?>
                    <div class="controls">
                        <?php echo $form->passwordField($model, 'verifyPassword'); ?>
                        <?php echo $form->error($model, 'verifyPassword'); ?>
                    </div>
                </div>


                <div class="control-group">
                    <div class="controls">
                        <?php echo CHtml::submitButton(UserModule::t("Save"), array('class' => 'btn btn-success')); ?>
                    </div>
                </div>

                <?php $this->endWidget(); ?>
            </div><!-- form -->
        </div>
    </div>
</div>